package cn.stylefeng.guns.modular.students.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 学生
 * </p>
 *
 * @author CHENCHEN
 * @since 2022-07-19
 */
@TableName("students")
public class Students implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * ID
     */
      @TableId(value = "id", type = IdType.ID_WORKER)
    private Long id;

    /**
     * 学生姓名
     */
    @TableField("student_name")
    private String studentName;

    /**
     * 出生年月
     */
    @TableField("date_of_birth")
    private Date dateOfBirth;

    /**
     * 身份证号
     */
    @TableField("idcard")
    private String idcard;

    /**
     * 联系电话
     */
    @TableField("cell_phone_number")
    private String cellPhoneNumber;

    /**
     * 家庭住址
     */
    @TableField("home_address")
    private String homeAddress;

    /**
     * 联系人电话
     */
    @TableField("contact_phone")
    private String contactPhone;

    /**
     * 联系人关系
     */
    @TableField("contact_relation")
    private String contactRelation;

    /**
     * 紧急联系人电话
     */
    @TableField("emergency_contact_phone")
    private String emergencyContactPhone;

    /**
     * 紧急联系人关系
     */
    @TableField("emergency_contact_relation")
    private String emergencyContactRelation;

    /**
     * 学历
     */
    @TableField("diploma")
    private String diploma;

    /**
     * 招生来源(1转介绍，2渠道，3院校大学生，4网络渠道)
     */
    @TableField("source")
    private String source;

    /**
     * 学院名称
     */
    @TableField("college_name")
    private String collegeName;

    /**
     * 学习月份
     */
    @TableField("months")
    private String months;

    /**
     * 性别
     */
    @TableField("sex")
    private String sex;

    /**
     * 状态
     */
    @TableField("status")
    private String status;

    /**
     * 专业
     */
    @TableField("specialty_id")
    private Long specialtyId;

    /**
     * 班级
     */
    @TableField("team_id")
    private Long teamId;

    /**
     * 密码
     */
    @TableField("password")
    private String password;

    /**
     * 盐
     */
    @TableField("salt")
    private String salt;

    /**
     * 头像
     */
    @TableField("header_url")
    private String headerUrl;

    /**
     * 备注
     */
    @TableField("remark")
    private String remark;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getStudentName() {
        return studentName;
    }

    public void setStudentName(String studentName) {
        this.studentName = studentName;
    }

    public Date getDateOfBirth() {
        return dateOfBirth;
    }

    public void setDateOfBirth(Date dateOfBirth) {
        this.dateOfBirth = dateOfBirth;
    }

    public String getIdcard() {
        return idcard;
    }

    public void setIdcard(String idcard) {
        this.idcard = idcard;
    }

    public String getCellPhoneNumber() {
        return cellPhoneNumber;
    }

    public void setCellPhoneNumber(String cellPhoneNumber) {
        this.cellPhoneNumber = cellPhoneNumber;
    }

    public String getHomeAddress() {
        return homeAddress;
    }

    public void setHomeAddress(String homeAddress) {
        this.homeAddress = homeAddress;
    }

    public String getContactPhone() {
        return contactPhone;
    }

    public void setContactPhone(String contactPhone) {
        this.contactPhone = contactPhone;
    }

    public String getContactRelation() {
        return contactRelation;
    }

    public void setContactRelation(String contactRelation) {
        this.contactRelation = contactRelation;
    }

    public String getEmergencyContactPhone() {
        return emergencyContactPhone;
    }

    public void setEmergencyContactPhone(String emergencyContactPhone) {
        this.emergencyContactPhone = emergencyContactPhone;
    }

    public String getEmergencyContactRelation() {
        return emergencyContactRelation;
    }

    public void setEmergencyContactRelation(String emergencyContactRelation) {
        this.emergencyContactRelation = emergencyContactRelation;
    }

    public String getDiploma() {
        return diploma;
    }

    public void setDiploma(String diploma) {
        this.diploma = diploma;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public String getCollegeName() {
        return collegeName;
    }

    public void setCollegeName(String collegeName) {
        this.collegeName = collegeName;
    }

    public String getMonths() {
        return months;
    }

    public void setMonths(String months) {
        this.months = months;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Long getSpecialtyId() {
        return specialtyId;
    }

    public void setSpecialtyId(Long specialtyId) {
        this.specialtyId = specialtyId;
    }

    public Long getTeamId() {
        return teamId;
    }

    public void setTeamId(Long teamId) {
        this.teamId = teamId;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getSalt() {
        return salt;
    }

    public void setSalt(String salt) {
        this.salt = salt;
    }

    public String getHeaderUrl() {
        return headerUrl;
    }

    public void setHeaderUrl(String headerUrl) {
        this.headerUrl = headerUrl;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    public String toString() {
        return "Students{" +
                "id=" + id +
                ", studentName='" + studentName + '\'' +
                ", dateOfBirth=" + dateOfBirth +
                ", idcard='" + idcard + '\'' +
                ", cellPhoneNumber='" + cellPhoneNumber + '\'' +
                ", homeAddress='" + homeAddress + '\'' +
                ", contactPhone='" + contactPhone + '\'' +
                ", contactRelation='" + contactRelation + '\'' +
                ", emergencyContactPhone='" + emergencyContactPhone + '\'' +
                ", emergencyContactRelation='" + emergencyContactRelation + '\'' +
                ", diploma='" + diploma + '\'' +
                ", source='" + source + '\'' +
                ", collegeName='" + collegeName + '\'' +
                ", months='" + months + '\'' +
                ", sex='" + sex + '\'' +
                ", status='" + status + '\'' +
                ", specialtyId=" + specialtyId +
                ", teamId=" + teamId +
                ", password='" + password + '\'' +
                ", salt='" + salt + '\'' +
                ", headerUrl='" + headerUrl + '\'' +
                ", remark='" + remark + '\'' +
                '}';
    }
}
